<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko"> 
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<link rel="stylesheet" type="text/css" href="/styles/book/getbook.css"/>
		<script type="text/javascript" charset="utf-8" src="/scripts/book/book.js"></script>
		<script type="text/javascript" charset="utf-8" src="/scripts/book/getbook.js"></script>
		<title>로드맵</title>
	</head>
	<body>

		<table id="roadmap">
			<thead>
				<tr>
					<td>로드맵</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td colspan="3">
						<c:if test="${roadMap.nw.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.nw.idNum}">↖</a>
						</c:if>
						<c:if test="${roadMap.north.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.north.idNum}">↑</a>
						</c:if>
						<c:if test="${roadMap.nw.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.nw.idNum}">↗</a>
						</c:if>
					</td>
				</tr>
				<tr>
					<td>
						<c:if test="${roadMap.west.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.west.idNum}">←</a>
						</c:if>
					</td>
					<td>
						<img src="/images/roadmap/${roadMap.fileName}"/>
					</td>
					<td>
						<c:if test="${roadMap.east.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.east.idNum}">→</a>
						</c:if>
					</td>
				</tr>
				<tr>
					<td colspan="3">
						<c:if test="${roadMap.sw.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.sw.idNum}">↙</a>
						</c:if>
						<c:if test="${roadMap.south.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.south.idNum}">↓</a>
						</c:if>
						<c:if test="${roadMap.se.idNum!=0}">
							<a href="/roadmap/roadMap.do?idNum=${roadMap.se.idNum}">↘</a>
						</c:if>
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td>하하</td>
				</tr>
			</tfoot>
		</table>
		
	</body>
</html>